# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class AccountingRule(object):

    def __init__(self, site, targetType, outAccountType, appCode=None, serviceCode=None, pin=None, outAccountDay=None, timeCron=None):
        """
        :param site:  站点
        :param appCode: (Optional) 产品线
        :param targetType:  出账对象类型 1：通用 2：用户
        :param serviceCode: (Optional) 产品
        :param pin: (Optional) pin
        :param outAccountType:  出账类型  1：实时出账 2：定期出账
        :param outAccountDay: (Optional) 出账周期：限制范围 1-28
        :param timeCron: (Optional) 定期出账 时间表达式
        """

        self.site = site
        self.appCode = appCode
        self.targetType = targetType
        self.serviceCode = serviceCode
        self.pin = pin
        self.outAccountType = outAccountType
        self.outAccountDay = outAccountDay
        self.timeCron = timeCron
